<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>桌球</title>
    <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="full-screen" content="true"/>
    <meta name="screen-orientation" content="portrait"/>
    <meta name="x5-fullscreen" content="true"/>
    <meta name="360-fullscreen" content="true"/>
    <style>
        html, body {
            -ms-touch-action: none;
            background: #888888;
            padding: 0;
            border: 0;
            margin: 0;
            height: 100%;
        }
    </style>

    <!--这个标签为通过egret提供的第三方库的方式生成的 javascript 文件-->
    <!--modules_files_start-->
	<script egret="lib" src="libs/modules/egret/egret.js" src-release="libs/modules/egret/egret.min.js"></script>
	<script egret="lib" src="libs/modules/egret/egret.web.js" src-release="libs/modules/egret/egret.web.min.js"></script>
	<script egret="lib" src="libs/modules/game/game.js" src-release="libs/modules/game/game.min.js"></script>
	<script egret="lib" src="libs/modules/Tween/Tween.js" src-release="libs/modules/Tween/Tween.min.js"></script>
	<script egret="lib" src="libs/modules/eui/eui.js" src-release="libs/modules/eui/eui.min.js"></script>
	<script egret="lib" src="libs/modules/res/res.js" src-release="libs/modules/res/res.min.js"></script>
	<script egret="lib" src="libs/modules/socket/socket.js" src-release="libs/modules/socket/socket.min.js"></script>
	<script egret="lib" src="libs/modules/dragonBones/dragonBones.js" src-release="libs/modules/dragonBones/dragonBones.min.js"></script>
	<!--modules_files_end-->

    <!--这个标签为不通过egret提供的第三方库的方式使用的 javascript 文件，请将这些文件放在libs下，但不要放在modules下面。-->
    <!--other_libs_files_start-->
    <!--other_libs_files_end-->

    <!--这个标签会被替换为项目中所有的 javascript 文件-->
    <!--game_files_start-->
	<script egret="game" src="bin-debug/code/SettingsPannel.js"></script>
	<script egret="game" src="bin-debug/AssetAdapter.js"></script>
	<script egret="game" src="bin-debug/code/FakeServer/FakeServerManage.js"></script>
	<script egret="game" src="bin-debug/code/GameData.js"></script>
	<script egret="game" src="bin-debug/code/GameTools.js"></script>
	<script egret="game" src="bin-debug/code/LoseUI.js"></script>
	<script egret="game" src="bin-debug/code/MathUtils/MathUtils.js"></script>
	<script egret="game" src="bin-debug/code/NewBall.js"></script>
	<script egret="game" src="bin-debug/code/PromptWord.js"></script>
	<script egret="game" src="bin-debug/code/randomName.js"></script>
	<script egret="game" src="bin-debug/code/FakeServer/AIBase.js"></script>
	<script egret="game" src="bin-debug/code/TableUI.js"></script>
	<script egret="game" src="bin-debug/code/TipsUI.js"></script>
	<script egret="game" src="bin-debug/code/WanFa.js"></script>
	<script egret="game" src="bin-debug/code/WinUI.js"></script>
	<script egret="game" src="bin-debug/LoadingUI.js"></script>
	<script egret="game" src="bin-debug/Main.js"></script>
	<script egret="game" src="bin-debug/network/ErrorMessage.js"></script>
	<script egret="game" src="bin-debug/network/webNetworkMananger.js"></script>
	<script egret="game" src="bin-debug/ThemeAdapter.js"></script>
	<!--game_files_end-->
</head>
<body>
    <div style="margin: auto;width: 100%;height: 100%;" class="egret-player"
         data-entry-class="Main"
         data-orientation="auto"
         data-scale-mode="showAll"
         data-resolution-mode="retina"
         data-frame-rate="60"
         data-content-width="1440"
         data-content-height="900"
         data-show-paint-rect="false"
         data-multi-fingered="2"
         data-show-fps="false" data-show-log="false"
         data-log-filter="" data-show-fps-style="x:0,y:0,size:30,textColor:0x00c200,bgAlpha:0.9">
        <canvas id="canvas3d" style="position:relative;pointer-events: none;"></canvas>
    </div>
    <!--<script src="http://www.html5canvastutorials.com/libraries/three.min.js"></script>-->
    <script src="three.min.js"></script>
    <script src="ball3D.js"></script>
    <script>
    	function getBrowserType() {getBrowserType
    	var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
    	var isOpera = userAgent.indexOf("Opera") > -1;
    	if(isOpera) {
    	return "Opera"
    	}; //判断是否Opera浏览器
    	if(userAgent.indexOf("Firefox") > -1) {
    	return "FF";
    	} //判断是否Firefox浏览器
    	if(userAgent.indexOf("Chrome") > -1) {
    	return "Chrome";
    	}
    	if(userAgent.indexOf("Safari") > -1) {
    	return "Safari";
    	} //判断是否Safari浏览器
    	if(userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera) {
    	return "IE";
    	}; //判断是否IE浏览器
    	}
    </script>
    <script>

        egret.runEgret();
    </script>
</body>
</html>
